<?php

class Doctrine_Model_TasaDao extends Doctrine_Model_BaseDao {
    
    public function obtenerTodos() {
        return $this->getEntityManager()
                ->createQuery('select t from Doctrine_Model_Entities_Tasa t')
                ->getResult();
    }

    public function obtenerPorId($id) {
        return $this->getEntityManager()->find('Doctrine_Model_Entities_Tasa', $id);
    }
    
}
